package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DishService extends IService<Dish> {
    PageResult selecetDishPage(DishPageQueryDTO dto);

    void add(DishDTO dto);

    void updateDish(DishDTO dto);

    DishVO selectDishById(Long id);

    List<DishVO> selectByCategoryId(Long categoryId);

    void removeDishByIds(List<Long> ids);
}
